#ifndef ROADCONTEXT_H
#define ROADCONTEXT_H



#include "kemode/mode/roadbean.h"
#include "kemode/dao/wp/CityRoadDao.h"
#include <vector>

#include "sqlite3.h"

namespace kepen {
namespace core {

class  RoadContext
{
public:
    RoadContext();
    virtual  ~RoadContext();
public:
   void initDataSource(sqlite3 *dbSQLite3, const QString &tableName);
public:
   std::vector<kepen::kemod::RoadBean*> m_ListRoadName;
    std::vector<kepen::kemod::RoadBean*> m_ListRoadCross;
  const  kepen::kemod::CityRoadDao *getCityRoadDao() const;

private:
    int countRoadData;

    kepen::kemod::RoadBean * roadData;
    kepen::kemod::CityRoadDao* cityRoadDao;
};



}
}

#endif // ROADCONTEXT_H
